<{include file="Public/top.html"}>
</head>
<body>
<div id="warpper">
    <div class="content">
        <div class="location">签到功能</div>
        <div class="ui-tab">
            <{include file="Sign/countNav.html"}>
        </div>
        <div class="filedSet" style="padding-bottom: 0;">
            <div class="search">
                <form action="<{U('sign/statistic')}>" id="searchForm" method="get" class="ui-form reportForm">
                    <input name="m" type="hidden" value="<{$module}>">
                    <input name="c" type="hidden" value="<{$controller}>">
                    <input name="a" type="hidden" value="<{$action}>">
                    <input name="p" id="page" type="hidden" value="<{$page|default:1}>">
                    <input name="limit" id="limit" type="hidden" value="<{$limit|default:10}>">

                    <div class="ui-form-item inline-block">
                        <label class="ui-label">日期选择</label>
                        <input id="d411" class="ui-select" name="date" type="text" onfocus="WdatePicker({dateFmt:'yyyy-MM',skin:'whyGreen',maxDate: new Date()})" value="<{$date}>"/>
                    </div>
                    <div class="ui-form-item inline-block">
                        <button type="submit" class="ui-button" onclick="LayerShow();">查询</button>
                    </div>
                    <div class="ui-form-item inline-block" style="font-size: 14px;">
                        <span>实际总签到数：<i><{$totalRealNum}></i></span>
                    </div>
                </form>
            </div>
        </div>

        <!--表格内容-->
        <div class="mainGrid">
            <table class="ui-table ui-body">
                <thead>
                <tr>
                    <th class="pct10">日期</th>
                    <th class="pct10">实际签到数</th>
                    <th class="pct10">显示签到数</th>
                </tr>
                </thead>
                <tbody>
                <{if $data}>
                    <{foreach from=$data item=item}>
                        <tr>
                            <td><{$item.objDate|date_format:'%Y-%m-%d'}></td>
                            <td><{$item.realSignNum}></td>
                            <td><{$item.showSignNum}></td>
                        </tr>
                    <{/foreach}>
                <{else}>
                <tr>
                    <td colspan="3">暂无数据</td>
                </tr>
                <{/if}>
                </tbody>
            </table>
        </div>
        <!--描述：分页-->
        <div class="pagination">
            <{include file="Public/page.html"}>
        </div>
    </div>
</div>
<{include file="Public/foot.html" }>
</body>
</html>
